﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="EdgleyDesign10.Web.Templates.Home.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

<acms:JavascriptFile ID="JavascriptFile1" runat="server" Path="~/Scripts/jquery.cycle.all.latest.js"  />
    <script type="text/javascript">
        $(document).ready(function() {
            //alert("start");
            $('#image_wrap').cycle({
                fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
            }); 
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TextContent" runat="server">
    <acms:HtmlContentControlDisplay ID="acmsText" ControlName="Text" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="image_wrap">
        
        <asp:ListView ID="listThumbs" DataSourceID="dsThumbs" runat="server" GroupItemCount="5">
            <LayoutTemplate>
                <asp:PlaceHolder ID="groupPlaceholder" runat="server"/>
            </LayoutTemplate>
            
            <GroupTemplate>
            
                    <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
            
            </GroupTemplate>
            
            <ItemTemplate>
                <%--<acms:PostThumbnail runat="server"/>--%>
                <%--<acms:ImageContentControlDisplay ID="ImageContentControlDisplay1" ControlName="Image" RenderWidth="35" runat="server" />--%>
                <acms:ImageContentControlDisplay ID="ImageContentControlDisplay2" ControlName="Image" RenderWidth="700" runat="server" />
            </ItemTemplate>

        </asp:ListView>
    </div>
    <acms:PostDataSource ID="dsThumbs" OnSelectData="dsThumbs_SelectData" runat="server" />
</asp:Content>
